*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: currentColor;
}

#app {
  width: 100%;
  height: 100%;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: inherit;
  width: 100%;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}


a {
  color: inherit;
  text-decoration: inherit;
}


img,
svg {
  display: inline-block;
}

svg {
  /* 因icon大小被设置为和字体大小一致，而span等标签的下边缘会和字体的基线对齐，故需设置一个往下的偏移比例，来纠正视觉上的未对齐效果 */
  vertical-align: -0.15em;
}


ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}


*,
*::before,
*::after {
  box-sizing: inherit;
}

a:focus,
a:active,
div:focus {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

/* 搜索框样式 */
.search {
  padding: 18px 0 0 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  border: 1px solid var(--el-border-color-light);
  box-shadow: var(--el-box-shadow-light);
  background-color: var(--el-bg-color-overlay);
}

/* 输入框宽度问题 */
.el-input__suffix {
  width: auto !important;
  padding: 0;
}

.el-input__icon {
  right: 5px;
}

/* 分页样式 */
.page {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.child-view {
  position: absolute;
  width: 100%;
  overflow: hidden;
  transition: all 0.8s cubic-bezier(.55, 0, .1, 1);
}

/* 离开 */
.slide-fade-leave-to {
  opacity: 0;
  transform: translateX(50px)
}

/* 进入 */
.slide-fade-enter-from {
  opacity: 0;
  transform: translateX(-50px)
}